#! /usr/bin/env bash
#
# This script generates the same output as the "ipsumdump" program.  Since
# ipsumdump is an optional dependency, this script is useful for testing
# trace-summary when ipsumdump is not installed.

cat << _EOF_
!IPSummaryDump 1.3
!creator "ipsumdump -r wikipedia.trace --timestamp --src --dst --sport --dport --length --protocol --fragment --payload-length -Q"
!host test
!runtime 1417929655.635998744 (Sat Dec  6 23:20:55 2014)
!data timestamp ip_src ip_dst sport dport ip_len ip_proto ip_frag payload_len tcp_seq
1300475167.096535 141.142.220.202 224.0.0.251 5353 5353 73 U ! 45 -
1300475167.097012 - - - - 213 - - 213 -
1300475167.099816 141.142.220.50 224.0.0.251 5353 5353 179 U . 151 -
1300475168.652003 141.142.220.118 208.80.152.2 35634 80 515 T ! 463 1375720274
1300475168.713296 208.80.152.2 141.142.220.118 80 35634 402 T ! 350 3103668877
1300475168.713332 141.142.220.118 208.80.152.2 35634 80 52 T ! 0 1375720737
1300475168.724007 141.142.220.118 208.80.152.118 48649 80 60 T ! 0 1469983073
1300475168.783842 208.80.152.118 141.142.220.118 80 48649 60 T ! 0 891408347
1300475168.783898 141.142.220.118 208.80.152.118 48649 80 52 T ! 0 1469983074
1300475168.784020 141.142.220.118 208.80.152.118 48649 80 577 T ! 525 1469983074
1300475168.843853 208.80.152.118 141.142.220.118 80 48649 52 T ! 0 891408348
1300475168.843894 208.80.152.118 141.142.220.118 80 48649 284 T ! 232 891408348
1300475168.843912 141.142.220.118 208.80.152.118 48649 80 52 T ! 0 1469983599
1300475168.853899 141.142.220.118 141.142.2.2 43927 53 66 U ! 38 -
1300475168.854334 141.142.2.2 141.142.220.118 53 43927 117 U . 89 -
1300475168.854378 141.142.220.118 141.142.2.2 37676 53 80 U ! 52 -
1300475168.854798 141.142.2.2 141.142.220.118 53 37676 127 U . 99 -
1300475168.854837 141.142.220.118 141.142.2.2 40526 53 66 U ! 38 -
1300475168.855229 141.142.2.2 141.142.220.118 53 40526 211 U . 183 -
1300475168.855305 141.142.220.118 208.80.152.3 49996 80 60 T ! 0 1481137310
1300475168.855330 141.142.220.118 208.80.152.3 49997 80 60 T ! 0 1471107192
1300475168.857956 141.142.220.118 141.142.2.2 32902 53 66 U ! 38 -
1300475168.858273 141.142.2.2 141.142.220.118 53 32902 117 U . 89 -
1300475168.858306 141.142.220.118 141.142.2.2 59816 53 80 U ! 52 -
1300475168.858649 141.142.2.2 141.142.220.118 53 59816 127 U . 99 -
1300475168.858713 141.142.220.118 141.142.2.2 59714 53 66 U ! 38 -
1300475168.859088 141.142.2.2 141.142.220.118 53 59714 211 U . 183 -
1300475168.859163 141.142.220.118 208.80.152.3 49998 80 60 T ! 0 1480721085
1300475168.891644 141.142.220.118 141.142.2.2 58206 53 66 U ! 38 -
1300475168.891983 141.142.2.2 141.142.220.118 53 58206 117 U . 89 -
1300475168.892037 141.142.220.118 141.142.2.2 38911 53 80 U ! 52 -
1300475168.892372 141.142.2.2 141.142.220.118 53 38911 127 U . 99 -
1300475168.892414 141.142.220.118 141.142.2.2 59746 53 66 U ! 38 -
1300475168.892835 141.142.2.2 141.142.220.118 53 59746 211 U . 183 -
1300475168.892913 141.142.220.118 208.80.152.3 49999 80 60 T ! 0 1481610723
1300475168.892936 141.142.220.118 208.80.152.3 50000 80 60 T ! 0 1470273939
1300475168.893988 141.142.220.118 141.142.2.2 45000 53 66 U ! 38 -
1300475168.894372 141.142.2.2 141.142.220.118 53 45000 117 U . 89 -
1300475168.894422 141.142.220.118 141.142.2.2 48479 53 80 U ! 52 -
1300475168.894739 141.142.2.2 141.142.220.118 53 48479 127 U . 99 -
1300475168.894787 141.142.220.118 141.142.2.2 48128 53 66 U ! 38 -
1300475168.895210 141.142.2.2 141.142.220.118 53 48128 211 U . 183 -
1300475168.895267 141.142.220.118 208.80.152.3 50001 80 60 T ! 0 1483848447
1300475168.901749 141.142.220.118 141.142.2.2 56056 53 64 U ! 36 -
1300475168.902151 141.142.2.2 141.142.220.118 53 56056 159 U . 131 -
1300475168.902195 141.142.220.118 141.142.2.2 55092 53 64 U ! 36 -
1300475168.902569 141.142.2.2 141.142.220.118 53 55092 226 U . 198 -
1300475168.902635 141.142.220.118 208.80.152.2 35642 80 60 T ! 0 1484926959
1300475168.915940 208.80.152.3 141.142.220.118 80 49997 60 T ! 0 295605892
1300475168.915959 141.142.220.118 208.80.152.3 49997 80 52 T ! 0 1471107193
1300475168.916018 141.142.220.118 208.80.152.3 49997 80 598 T ! 546 1471107193
1300475168.916118 208.80.152.3 141.142.220.118 80 49996 60 T ! 0 4103617888
1300475168.916128 141.142.220.118 208.80.152.3 49996 80 52 T ! 0 1481137311
1300475168.916183 141.142.220.118 208.80.152.3 49996 80 640 T ! 588 1481137311
1300475168.918295 208.80.152.3 141.142.220.118 80 49998 60 T ! 0 1890051818
1300475168.918305 141.142.220.118 208.80.152.3 49998 80 52 T ! 0 1480721086
1300475168.918358 141.142.220.118 208.80.152.3 49998 80 601 T ! 549 1480721086
1300475168.952193 208.80.152.3 141.142.220.118 80 50000 60 T ! 0 1789129103
1300475168.952222 141.142.220.118 208.80.152.3 50000 80 52 T ! 0 1470273940
1300475168.952228 208.80.152.3 141.142.220.118 80 49999 60 T ! 0 1027285335
1300475168.952234 141.142.220.118 208.80.152.3 49999 80 52 T ! 0 1481610724
1300475168.952296 141.142.220.118 208.80.152.3 49999 80 606 T ! 554 1481610724
1300475168.952307 141.142.220.118 208.80.152.3 50000 80 625 T ! 573 1470273940
1300475168.954761 208.80.152.3 141.142.220.118 80 50001 60 T ! 0 583669705
1300475168.954770 141.142.220.118 208.80.152.3 50001 80 52 T ! 0 1483848448
1300475168.954820 141.142.220.118 208.80.152.3 50001 80 631 T ! 579 1483848448
1300475168.962628 208.80.152.2 141.142.220.118 80 35642 60 T ! 0 1446495985
1300475168.962642 141.142.220.118 208.80.152.2 35642 80 52 T ! 0 1484926960
1300475168.962687 141.142.220.118 208.80.152.2 35642 80 586 T ! 534 1484926960
1300475168.975308 208.80.152.3 141.142.220.118 80 49997 52 T ! 0 295605893
1300475168.975791 208.80.152.3 141.142.220.118 80 49996 52 T ! 0 4103617889
1300475168.975800 208.80.152.3 141.142.220.118 80 49997 419 T ! 367 295605893
1300475168.975807 141.142.220.118 208.80.152.3 49997 80 52 T ! 0 1471107739
1300475168.975934 141.142.220.118 208.80.152.3 49997 80 631 T ! 579 1471107739
1300475168.976327 208.80.152.3 141.142.220.118 80 49996 418 T ! 366 4103617889
1300475168.976334 141.142.220.118 208.80.152.3 49996 80 52 T ! 0 1481137899
1300475168.976436 141.142.220.118 208.80.152.3 49996 80 635 T ! 583 1481137899
1300475168.978186 208.80.152.3 141.142.220.118 80 49998 52 T ! 0 1890051819
1300475168.979160 208.80.152.3 141.142.220.118 80 49998 419 T ! 367 1890051819
1300475168.979166 141.142.220.118 208.80.152.3 49998 80 52 T ! 0 1480721635
1300475168.979264 141.142.220.118 208.80.152.3 49998 80 633 T ! 581 1480721635
1300475169.011610 208.80.152.3 141.142.220.118 80 49999 52 T ! 0 1027285336
1300475169.011631 208.80.152.3 141.142.220.118 80 50000 52 T ! 0 1789129104
1300475169.012666 208.80.152.3 141.142.220.118 80 50000 419 T ! 367 1789129104
1300475169.012676 141.142.220.118 208.80.152.3 50000 80 52 T ! 0 1470274513
1300475169.012730 208.80.152.3 141.142.220.118 80 49999 419 T ! 367 1027285336
1300475169.012737 141.142.220.118 208.80.152.3 49999 80 52 T ! 0 1481611278
1300475169.014504 208.80.152.3 141.142.220.118 80 50001 52 T ! 0 583669706
1300475169.014593 141.142.220.118 208.80.152.3 49999 80 635 T ! 583 1481611278
1300475169.014619 141.142.220.118 208.80.152.3 50000 80 627 T ! 575 1470274513
1300475169.014860 208.80.152.3 141.142.220.118 80 50001 419 T ! 367 583669706
1300475169.014865 141.142.220.118 208.80.152.3 50001 80 52 T ! 0 1483849027
1300475169.014927 141.142.220.118 208.80.152.3 50001 80 651 T ! 599 1483849027
1300475169.021939 208.80.152.2 141.142.220.118 80 35642 52 T ! 0 1446495986
1300475169.022665 208.80.152.2 141.142.220.118 80 35642 464 T ! 412 1446495986
1300475169.022676 141.142.220.118 208.80.152.2 35642 80 52 T ! 0 1484927494
1300475169.036294 208.80.152.3 141.142.220.118 80 49997 419 T ! 367 295606260
1300475169.036798 208.80.152.3 141.142.220.118 80 49996 419 T ! 367 4103618255
1300475169.039923 208.80.152.3 141.142.220.118 80 49998 419 T ! 367 1890052186
1300475169.073806 141.142.220.118 208.80.152.3 49996 80 52 T ! 0 1481138482
1300475169.074793 208.80.152.3 141.142.220.118 80 50000 419 T ! 367 1789129471
1300475169.074938 208.80.152.3 141.142.220.118 80 49999 418 T ! 366 1027285703
1300475169.075050 141.142.220.118 208.80.152.3 49997 80 52 T ! 0 1471108318
1300475169.075056 141.142.220.118 208.80.152.3 49998 80 52 T ! 0 1480722216
1300475169.075065 208.80.152.3 141.142.220.118 80 50001 419 T ! 367 583670073
1300475169.113874 141.142.220.118 208.80.152.3 49999 80 52 T ! 0 1481611861
1300475169.122539 141.142.220.118 208.80.152.3 50000 80 52 T ! 0 1470275088
1300475169.122551 141.142.220.118 208.80.152.3 50001 80 52 T ! 0 1483849626
1300475169.780331 173.192.163.128 141.142.220.235 80 6705 48 T . 0 1385838722
1300475169.899438 141.142.220.44 224.0.0.251 5353 5353 85 U ! 57 -
1300475170.862384 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
1300475171.612255 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
1300475171.675372 - - - - 95 - - 95 -
1300475171.677081 141.142.220.226 224.0.0.252 55131 5355 61 U . 33 -
1300475171.775468 - - - - 95 - - 95 -
1300475171.777102 141.142.220.226 224.0.0.252 55131 5355 61 U . 33 -
1300475171.975785 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
1300475172.362244 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
1300475172.725281 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
1300475173.116749 - - - - 95 - - 95 -
1300475173.117362 141.142.220.226 224.0.0.252 55671 5355 61 U . 33 -
1300475173.153679 141.142.220.238 141.142.220.255 56641 137 78 U . 50 -
1300475173.216550 - - - - 95 - - 95 -
1300475173.217211 141.142.220.226 224.0.0.252 55671 5355 61 U . 33 -
1300475173.416717 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
1300475173.475401 141.142.220.226 141.142.220.255 137 137 78 U . 50 -
_EOF_

